﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Slf;

namespace SLF.Test
{
  [TestClass]
  public class ConsoleLoggerTest
  {
    [TestMethod]
    public void RobustnessTest()
    {
      ConsoleLogger logger = new ConsoleLogger();

      List<string> failures = ExploratoryTester.TestILogger(logger);

      Assert.AreEqual(0, failures.Count,
        failures.Count != 0 ? failures.Aggregate((s1, s2) => s1 + System.Environment.NewLine + s2) : "");

    }
  }
}
